package com.myhouse.biz.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.myhouse.biz.PhotoService;
import com.myhouse.dao.PhotoDao;
import com.myhouse.entity.Photo;
@Service
public class PhotoServiceImpl implements PhotoService{
	@Resource
	private PhotoDao photoDao;

	@Override
	public void addPhoto(Photo photo) {
		photoDao.addPhoto(photo);
	}

	@Override
	public void updatePhoto(Photo photo) {
		photoDao.updatePhoto(photo);
	}

}
